package com.punch.system.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 名师表
 * </p>
 *
 * @author wjj
 * @since 2020-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("top_teacher")
public class TopTeacher extends BaseEntity<TopTeacher> {

    private static final long serialVersionUID = 1L;

    /**
     * 教师名称
     */
    @TableField("teacher_name")
    private String teacherName;

    /**
     * 教师图片
     */
    @TableField("teacher_img")
    private String teacherImg;

    /**
     * 擅长课程
     */
    @TableField("skill_course")
    private String skillCourse;

    /**
     * 文本介绍
     */
    @TableField("introduce")
    private String introduce;

    /**
     * 介绍图片,多个使用;分割
     */
    @TableField("introduce_img")
    private String introduceImg;

    /**
     * 排序
     */
    @TableField("sort_by")
    private Integer sortBy;

    /**
     * 创建用户uid
     */
    @TableField("create_id")
    private Long createId;

    /**
     * 状态 0-不显示 1-显示
     */
    @TableField("status")
    private Integer status;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
